<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->_webroot('skin/css/login.css'); ?>" />
<title>系统后台登入</title>
</head>
<style>
td {font-size:12px; line-height:18px;}
</style>

<body>
<div id="login">
<psp:tags     htmlname='messagebox'  iconname='messagebox' />
	<div class="warp">
    	<div class="content">
            <h1></h1>
            <form action="<?php echo $this->_url('admin/default/login');?>" method="post" onsubmit="return checkform();">
            <div class="item"><div class="input"><div class="icon" title="用户名"></div><input tabindex="1" type="text" name="data[user][username]" value=""  id="admin_name" /></div><label>用户名：</label></div>
            <div class="item"><div class="input"><div class="icon2" title="密码"></div><input tabindex="2" type="password" name="data[user][password]" value="" id="admin_password"/></div>
            
            <label>密 码：</label></div><input type="submit" tabindex="3" value="" class="submit" />
            </form>
            <p class="copyright">Powered by psp Mall v1.0 Copyright @2013-2020</p>
        </div>
    </div>
</div>
<script language="JavaScript">
<!--
function checkform() {
	var admin_name = document.getElementById("admin_name").value;
	if(!admin_name) {
		ShowMessageBox('管理员名称不能为空！','0');
		return false;
	}
	var admin_password = document.getElementById("admin_password").value;
	if(admin_password) {
		
		return true;
	} else {
		ShowMessageBox('管理员密码不能为空！','0');
		return false;
	}
}
//-->
</script>
</body>
</html>